package com.chb.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chb.entity.User;
import com.chb.mapper.FUserMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description:
 * @author: CHB
 * @create: 2021-10-22 15:19
 **/
@Service
public class FUserService extends ServiceImpl<FUserMapper,User> {

    public List<User> getUserList(){
         return this.list();
    }

    public boolean insertUser(User user){
        return this.save(user);
    }
}
